<!DOCTYPE html>
<!-- saved from url=(0081)http://www.17sucai.com/preview/427735/2018-01-25/%E7%99%BB%E5%BD%95.rar/demo.html -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Expires" content="0">
<title>${ dict.getValue("sys_name", "") } - 登录</title>
<style>
* {
	font: 13px/1.5 '微软雅黑';
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-box-sizing: border-box;
	padding: 0;
	margin: 0;
	list-style: none;
	box-sizing: border-box;
}

body, html {
	height: 100%;
	overflow: hidden;
}

body {
	background: #93defe;
	background-size: cover;
}

a {
	color: #27A9E3;
	text-decoration: none;
	cursor: pointer;
}

img {
	border: none;
}

.login_box {
	width: 1100px;
	margin: 120px auto 0;
}

.login_box .login_l_img {
	float: left;
	width: 432px;
	height: 440px;
	margin-left: 50px;
}

.login_box .login_l_img img {
	width: 500px;
	height: 440px;
}

.login {
	height: 360px;
	width: 400px;
	padding: 50px;
	background-color: #ffffff;
	border-radius: 6px;
	box-sizing: border-box;
	float: right;
	margin-right: 50px;
	position: relative;
	margin-top: 50px;
}

.login_logo {
	width: 120px;
	height: 120px;
	border: 5px solid #93defe;
	border-radius: 100px;
	background: #fff;
	text-align: center;
	line-height: 110px;
	position: absolute;
	top: -60px;
	right: 140px;
}

.login_name {
	width: 100%;
	float: left;
	text-align: center;
	margin-top: 20px;
}

.login_name p {
	width: 100%;
	text-align: center;
	font-size: 18px;
	color: #444;
	padding: 10px 0 20px;
}

.login_logo img {
	width: 60px;
	height: 60px;
	display: inline-block;
	vertical-align: middle;
}

input[type=text], input[type=file], input[type=password], input[type=email],
	select {
	border: 1px solid #DCDEE0;
	vertical-align: middle;
	border-radius: 3px;
	height: 50px;
	padding: 0px 16px;
	font-size: 14px;
	color: #555555;
	outline: none;
	width: 100%;
	margin-bottom: 15px;
	line-height: 50px;
	color: #888;
}

input[type=text]:focus, input[type=file]:focus, input[type=password]:focus,
	input[type=email]:focus, select:focus {
	border: 1px solid #27A9E3;
}

input[type=submit], input[type=button] {
	display: inline-block;
	vertical-align: middle;
	padding: 12px 24px;
	margin: 0px;
	font-size: 16px;
	line-height: 24px;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	cursor: pointer;
	color: #ffffff;
	background-color: #27A9E3;
	border-radius: 3px;
	border: none;
	-webkit-appearance: none;
	outline: none;
	width: 100%;
}

#footer {
	height: 40px;
	line-height: 40px;
	position: fixed;
	bottom: 0;
	width: 100%;
	text-align: center;
	color: #fff;
	font-family: Arial;
	font-size: 12px;
	letter-spacing: 1px;
}

#password_text {
	border: 1px solid #DCDEE0;
	vertical-align: middle;
	border-radius: 3px;
	height: 50px;
	padding: 0px 16px;
	font-size: 14px;
	color: #888;
	outline: none;
	width: 100%;
	margin-bottom: 15px;
	display: block;
	line-height: 50px;
}
</style>

</head>

<body>
	<div class="login_box">
		<div class="login_l_img">
			<img src="${ctxPath}/static/login-img.png">
		</div>
		<div class="login">
			<div class="login_logo">
				<img src="${ctxPath}/static/login_logo.png"></a>
			</div>
			<div class="login_name">
				<p>${ dict.getValue("sys_name", "") }</p>
			</div>
			<h4 style="color: red;">${tips!}</h4>
			<form method="post" action="${ctxPath}/login" onsubmit="return toVaild()">
				<input id="username" name="username" type="text" placeholder="请输入账号">
				<input id="password" name="password" type="password" id="password" placeholder="请输入密码">
				<div class="form-group" style="float: left;">
                <div class="checkbox" style="text-align: left">
                    <label>
                        <input type="checkbox" name="remember" style="margin-top: 2px;">记住我
                    </label>
                </div>
            </div>
				<input value="登录" style="width: 100%;margin-top:10px" type="submit">
			</form>
		</div>

	</div>
	<div id="footer">${ dict.getValue("companyName", "广州亿安生物科技有限公司") }
		版权所有©2016-2018 技术支持电话：${ dict.getValue("companyPhone", "020-5487941")
		}</div>

</body>
<script type="text/javascript">
	function toVaild(){
		if(document.getElementById("username").value == ""){
			alert("请输入账号!");
			return false;
		}	
		if(document.getElementById("password").value  == ""){
			alert("请输入密码!");
			return false;
		}
		return true;
	}
</script>
</html>